﻿using B.S.DataBase.ErrorCode;
using MediatR;

namespace B.S.DataBase.Write.API.Application.Commands
{
    public class CreateFarmCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 养殖品种的名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 养殖物的来源信息
        /// </summary>
        public string? Source { get; set; }

        /// <summary>
        /// 饲养的天数
        /// </summary>
        public int FeedDays { get; set; }

        /// <summary>
        /// 使用的饲料品牌
        /// </summary>
        public string? FeedBrand { get; set; }

        /// <summary>
        /// 负责饲养的人员姓名
        /// </summary>
        public string? FeedPerson { get; set; }

        /// <summary>
        /// 出栏日期，年月日默认值为空
        /// </summary>
        public DateTime? OutboundTime { get; set; }
    }
}
